<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragment :: myhead(~{::title},~{})">
    <title >错误信息</title>
</head>
<body>
<div class="panel panel-default">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>错误码：[<span th:text="${code}">Null</span>]</legend>
    </fieldset>
    <div class="layui-collapse" lay-filter="errorInfo">
        <div class="layui-colla-item">
            <h2 class="layui-colla-title" th:text="${message}"></h2>
            <div class="layui-colla-content" >
                <p th:text="${detail}">Non detail message !</p>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    layui.use(['element','layer'], function () {

    });
</script>
</body>
</html>